package com.cs.spzx.manager.mapper;

import com.cs.spzx.model.dto.system.SysUserDto;
import com.cs.spzx.model.entity.system.SysUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Stone
 * @version 1.0.1
 * @date 2025/1/1
 */
@Mapper
public interface UserMapper {

    List<SysUser> findByPage(SysUserDto sysUserDto);

    void saveSysUser(SysUser sysUser);

    SysUser findByUserName(String name);

    void updateSysUser(SysUser sysUser);

    void deleteById(Long userId);
}
